﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JingQiao.Ads.Domain.Model.Repository
{
    using Domain.Model.DomainObject;
    using Infrastructure;

    public interface ITemplateRepository : IRepository<ITemplate>
    {
        ITemplate FindById(int id);

        IQueryable<ITemplate> FindAll();

        PagedResult<ITemplate> FindAll(int pageSize, int pageIndex);

        int CountAll();
    }
}
